export class Info {
  constructor(age){
    this._age = age
    this.getText = ""
  }
  set age(newAge){
    if(newAge > 18){
      this.getText = "成年人"
    }else{
      this.getText = "少年人"
    }
    console.log("进来set....")
  }
  get age(){
    console.log("get...")
    return this.getText
  }
}